package com.carbon.assets.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.carbon.assets.entity.CarbonExchange;
import com.carbon.assets.entity.ExchangeAccount;
import com.carbon.assets.param.ExchangeAccountBindingParam;
import com.carbon.common.service.BaseService;
import com.carbon.assets.param.ExchangeAccountQueryParam;
import com.carbon.assets.vo.ExchangeAccountInfo;
import com.carbon.assets.vo.ExchangeAccountQueryVo;
import com.carbon.common.api.Paging;
import com.carbon.assets.vo.CarbonExchangeAccountVo;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 交易账户  服务类
 * </p>
 *
 * @author Li Jun
 * @since 2021-08-16
 */
public interface ExchangeAccountService extends BaseService<ExchangeAccount> {

    Integer add(ExchangeAccount exchangeAccount);

    IPage<ExchangeAccountQueryVo> search(Page<ExchangeAccountQueryVo> page, ExchangeAccountQueryParam param);
}
